var a=1;
var result=0;
while(a<=100){
    result +=a;
    a++;
}
console.log(result);
